/**
 * Created by TangZK on 2015/7/03.
 */

var Storage = (function () {
	function Module() {
		this.$storage = $.jStorage;
	}

	Module.prototype.set = function (key, value, options) {
		this.$storage.set(key, value, options);
	};

	Module.prototype.get = function (key, defaultVal) {
		return this.$storage.get(key, defaultVal);
	};

	Module.prototype.delete = function (key) {
		this.$storage.deleteKey(key)
	};

	return Module;
})();